package com.pb.camera;
import com.pb.camera.application.App;

import android.app.Activity;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.LinearLayout;

public class FindPasswordActivity  extends Activity{
	
	private LinearLayout  linear_complete;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		 requestWindowFeature(Window.FEATURE_NO_TITLE); 
		setContentView(R.layout.create_new_password);
		App.getInstance().getAllActivity().add(this);
		if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) {
            getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
          //  getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
        }
		linear_complete=(LinearLayout) findViewById(R.id.find_password_line_complete);
		linear_complete.setOnClickListener(new OnClickListener() {		
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
			    finish();
				
			}
		});
		
	}

	@Override
	public void finish() {
		App.getInstance().getAllActivity().remove(this);
		super.finish();
	}
	@Override
	protected void onDestroy() {
		App.getInstance().getAllActivity().remove(this);
		super.onDestroy();
	}
}
